package com.ff.xyh.access.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ff.xyh.common.entity.useraccess.AccessPermission;

import java.util.List;

/**
 * <p>
 * 后台许可表 Mapper 接口
 * </p>
 *
 * @author ff
 * @since 2022-10-30
 */
public interface AccessPermissionMapper extends BaseMapper<AccessPermission> {

    List<AccessPermission> selectPermissionListByUserId(String userId);

    List<String> selectPermissionValueListByUserId(String id);

    List<String> selectAllPermissionValues();

}
